package org.summerframework.core.exception;


import org.summerframework.core.base.result.DefaultResultCode;
import org.summerframework.core.base.result.ResultCode;

/**
 * @author shichao
 */
public class SelectNullException extends WebException {

    public SelectNullException() {
        super(DefaultResultCode.ERROR_SELECT_IS_NULL);
    }

    public SelectNullException(Class<?> clazz) {
        super(DefaultResultCode.ERROR_SELECT_IS_NULL, new RuntimeException(clazz.getName()));
    }

    public SelectNullException(ResultCode resultCode) {
        super(resultCode);
    }

    public SelectNullException(ResultCode resultCode, Throwable throwable) {
        super(resultCode, throwable);
    }

    public SelectNullException(ResultCode resultCode, String msg) {
        super(resultCode, msg);
    }
}
